<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
 <%@include file="/WEB-INF/jsp/public/commons.jspf"%>
<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath }/style/css.css"/>
<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath }/style/css1.css"/>
<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath }/style/web-ui.css" />
<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath }/style/skin-02.css" />
<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath }/style/your-custom.css" />
</head>
<body>
<div class="container">
<ol class="breadcrumb">
  <li><a href="home_outerCentre.action">首页</a></li>
  <li class="active">论坛</li>
</ol>
</div>
<div class="container">
	 <div class="tab1">
		<div class="row info-content">
		
		<div class="main">
	<div class="within mtop">
		<div class="border2" style="width: 1000px;">
		<div class="clear"></div>
		<ul class="blue w968">
	        <table class="grid_paging" width="100%">
	            <s:iterator value="forumlist" status="status">
	            	<tr btn_condition="${status.count-1}">
						<td >
							<ul class="w968">
								<li style="height: 150px;">
									
					<!-- 论坛版块图片 -->		
 					<div class="media-left">
						<a href="${pageContext.request.contextPath }/topic_list.action?id=${id}"><img src="${pageContext.request.contextPath }${photo }" class="img-rounded media-object" style="height: 140px;width: 230px;" alt=""></a>
					</div>
					<!-- 论坛版块信息描述 -->
					<div class="media-body">
						<!-- 论坛标题 -->
						<h4><a href="${pageContext.request.contextPath }/topic_list.action?id=${id}">${name }</a></h4>
						<!-- 描述信息 -->
						<div class="media-left" style="width:25000px;">
						&nbsp;&nbsp;&nbsp;<p >${description}</p>
						&nbsp;&nbsp;&nbsp;<p >主题数： ${topicCount }，贴数：${articleCount }</p>
						</div>
						<!-- 最后一个帖子 -->
						<div class="media-body" style="padding-top:30px;">
							<a href="topic_tiezi.action?id=${lastTopic.id}">${lastTopic.title}</a><br>
							<span>${lastTopic.author.name}</span><br>
							<span>${lastTopic.postTime}</span>
						</div>
					</div>	
						</li>
					</ul>
	            </td>
            </tr>
		</s:iterator>
      </table>
</ul>
</div>
</div>
</div>
		</div>
	</div>
</div>
</body>
</html>